package com.zxkj.commonpatrol.model.response;

import java.util.ArrayList;
import java.util.List;

public class ProjectDetailResponse {
    public int getRouteTotal() {
        return RouteTotal;
    }

    public void setRouteTotal(int routeTotal) {
        RouteTotal = routeTotal;
    }

    public List<Route> getRoutes() {
        return Routes;
    }

    public void setRoutes(List<Route> routes) {
        Routes = routes;
    }

    public RouteDashboard getProRouteStatisInfo() {
        return ProRouteStatisInfo;
    }

    public void setProRouteStatisInfo(RouteDashboard proRouteStatisInfo) {
        ProRouteStatisInfo = proRouteStatisInfo;
    }

    public int RouteTotal;    //该项目包含的线路总数
    public List<Route> Routes=new ArrayList<>();   //该项目包含的路线信息列表
    public RouteDashboard ProRouteStatisInfo; //该项目路线巡检的统计信息

    public static class Route {
        public String getCode() {
            return Code;
        }

        public void setCode(String code) {
            Code = code;
        }
        public int IsExistsProperty;

        public int getIsExistsProperty() {
            return IsExistsProperty;
        }

        public void setIsExistsProperty(int isExistsProperty) {
            IsExistsProperty = isExistsProperty;
        }

        public String getName() {
            return Name;
        }

        public void setName(String name) {
            Name = name;
        }

        public String getRouteTypeCode() {
            return RouteTypeCode;
        }

        public void setRouteTypeCode(String routeTypeCode) {
            RouteTypeCode = routeTypeCode;
        }

        public String getRouteTypeName() {
            return RouteTypeName;
        }

        public void setRouteTypeName(String routeTypeName) {
            RouteTypeName = routeTypeName;
        }

        public String getStartDate() {
            return StartDate;
        }

        public void setStartDate(String startDate) {
            StartDate = startDate;
        }

        public String getEndDate() {
            return EndDate;
        }

        public void setEndDate(String endDate) {
            EndDate = endDate;
        }

        public String getPatrolDateRange() {
            return PatrolDateRange;
        }

        public void setPatrolDateRange(String patrolDateRange) {
            PatrolDateRange = patrolDateRange;
        }

        public int getStatus() {
            return Status;
        }

        public void setStatus(int status) {
            Status = status;
        }

        public int getPointTotal() {
            return PointTotal;
        }

        public void setPointTotal(int pointTotal) {
            PointTotal = pointTotal;
        }

        public int getPointCompletedCount() {
            return PointCompletedCount;
        }

        public void setPointCompletedCount(int pointCompletedCount) {
            PointCompletedCount = pointCompletedCount;
        }

        public int getPatrolResultStatus() {
            return PatrolResultStatus;
        }

        public void setPatrolResultStatus(int patrolResultStatus) {
            PatrolResultStatus = patrolResultStatus;
        }

        public String Code;  //路线编号
        public String Name;  //路线名称
        public String RouteTypeCode;  //路线类别编号
        public String RouteTypeName;  //路线类别名称
        public String StartDate;      //路线巡逻的开始时间
        public String EndDate;        //路线巡逻的结束时间
        public String PatrolDateRange;  //路线巡逻的时间段(StartDate—EndDate)
        public int Status;            //路线的状态(0:Disable  1:Enable)
        public int PointTotal;        //路线包含的巡检点的总数
        public int PointCompletedCount;   //已经巡查而且为正常的巡检点数量
        public int PatrolResultStatus;    //路线的巡检结果状态(1:Finished)

    }
    public static class RouteDashboard {
        public int getAll() {
            return All;
        }

        public void setAll(int all) {
            All = all;
        }

        public int getCompleted() {
            return Completed;
        }

        public void setCompleted(int completed) {
            Completed = completed;
        }

        public int getPending() {
            return Pending;
        }

        public void setPending(int pending) {
            Pending = pending;
        }

        public int All;          //线路总数
        public int Completed;   //已经巡查而且为正常路线数量
        public int Pending;    //未巡检或者有异常的路线数量

    }
}
